<template>
    <div class="father">
        <h3>父组件</h3>
        <Child/>
    </div>
</template>
<script lang="js" setup>
    import Child from './Child.vue'
</script>
<style scoped>
    .father{
        background-color: #e84f34;
        padding: 20px;
        border-radius: 10px;
    }
</style>